export const Local = {
  setItem(key, val) {
    localStorage.setItem(key, val);
  },
  getItem(key) {
    return localStorage.getItem(key);
  },
  remove(key) {
    localStorage.removeItem(key);
  },
  clear() {
    localStorage.clear();
  },
};

export const Session = {
  setItem(key, val) {
    sessionStorage.setItem(key, val);
  },
  getItem(key) {
    return sessionStorage.getItem(key);
  },
  remove(key) {
    sessionStorage.removeItem(key);
  },
  clear() {
    sessionStorage.clear();
  },
};
